# -*- coding: utf-8 -*-
# @Time    : 2023/7/26 10:00 上午
# @Author  : Wu WanJie

import requests
import json
aa = {
    "question": "信息科技费1000万应该由谁审批？",
    "candidates": ["信息科技费低于30万由组长审批，低于50万由部长审批，低于200万由总经理审批。"],
    "top_k": 1
}


r = requests.post(
    data=json.dumps(aa),
    url="http://100.100.22.172:9902/nlp/mrc/extraction",
    headers={"Content-Type": "application/json"}
)
print(r.json())
